package com.matt.service;

import com.matt.domain.SaleFAQ;
import org.springframework.data.domain.Page;

public interface SaleFAQService {
    Page<SaleFAQ> getPageList(String areaId,String keyWords ,Integer pageNum, Integer pageSize);

    SaleFAQ getById(String id);

    SaleFAQ add(String areaId,String staffId, String staffName, String question,String answer);
    
    Page<SaleFAQ> getPageListByStaffId(String staffId ,Integer pageNum, Integer pageSize);
    
    Page<SaleFAQ> getPageListByState(String areaId ,Integer pageNum, Integer pageSize);
    
    SaleFAQ updateById(String id,Integer state,String staffId);
}
